class CreateLogs < ActiveRecord::Migration
  def self.up
    create_table :logs, :options => "ENGINE=NDBCLUSTER"  do |t|
      t.auto_dates
      t.integer :user_id
      t.integer :task_id
      t.datetime :deleted_at
      t.text :comment
    end
  end

  def self.down
    drop_table :logs
  end
end
